package com.lfs.market.controller.temp;

import com.fasterxml.jackson.annotation.JsonProperty;
import org.apache.poi.ss.formula.functions.T;

import java.util.List;

public class AssetResponse<T> {
    public AssetResponse() {
    }

    @JsonProperty("Data")
    private T data;

    @JsonProperty("Count")
    private Long count;

    @JsonProperty("TotalPage")
    private Long totalPage;

    @JsonProperty("ExtraData")
    private Object extraData;

    public AssetResponse(T data, Long count, Long totalPage, Object extraData) {
        this.data = data;
        this.count = count;
        this.totalPage = totalPage;
        this.extraData = extraData;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public Long getCount() {
        return count;
    }

    public void setCount(Long count) {
        this.count = count;
    }

    public Long getTotalPage() {
        return totalPage;
    }

    public void setTotalPage(Long totalPage) {
        this.totalPage = totalPage;
    }

    public Object getExtraData() {
        return extraData;
    }

    public void setExtraData(Object extraData) {
        this.extraData = extraData;
    }
}